package cn.myschool.test;

import cn.myschool.service.ExamService;
import cn.myschool.util.SpringUtil;

/**
 * @author oldliu
 * @since 1.0
 */
public class SMTEst3 {
    public static void main(String[] args) {
        ExamService s = SpringUtil.getBean(ExamService.class);
        ExamService s2 = SpringUtil.getBean(ExamService.class);
        System.out.println(s==s2);
//        ExamResult r=new ExamResult();
//        r.setSbid(48);
//        r.setStid(41);
//        r.setScore(90);
//        r.setExamDate(new Date());
//        int result=s.add(r);
//        System.out.println(result);
    }
}
